<?php

namespace Index\ViewModel;

use Think\Model\ViewModel;

class LaborwithdrawalViewModel extends ViewModel {
    
    protected $connection = 'DB';   //连接数据库
    protected $viewFields = array(
	//工会提现记录表
	'chat_labor_withdrawal' => array('id', 'labor_id', 'money', 'ctime', 'bankaccount', 'orderno', 'status', 'returnstatus', 'free', 'orderid', 'truename', 'quit', 'bankclass', 'txt', 'app_flag', '_type' => 'left'),
	//工会表
	'chat_labor' => array('name', '_on' => 'chat_labor_withdrawal.labor_id=chat_labor.id'));

}
